Lab 5 - EE 421L
Damian Aceves-Franco
acevesfr@unlv.neveada.edu
9/22/2021
September 22 – Lab5 – Design, layout, and simulation of a CMOS inverter, due October 6
*****************************************************************************
Pre-lab work
- Back-up all of your work from the lab and the course.
- Go through Tutorial 3 seen here.
Make tutorial 3 from tutorial 2
![http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/1.JPG](http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/1.JPG)
Creating a new schematic, “inverter”, and opening up NMOS_IV schematic, we will copy/paste the nmos4 instance to a new schematic
![http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/2.JPG](http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/2.JPG)
![http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/3.JPG](http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/3.JPG)
open PMOS_IV and do the same with pmos4
![http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/4.JPG](http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/4.JPG)
Wire the inverter, and add input pin A and output pin Ai
![http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/5.JPG](http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/5.JPG)
Creating symbol for this inverter to use in another schematic (Create -> Cell View -> From Cell View)
![http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/6.JPG](http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/6.JPG)
Create a new layout window for the Inverter schematic
![http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/7.JPG](http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/7.JPG)
Add a 6μ/.6μ NMOS, 12μ/.6μ PMOS, ntap , ptap , and m1_poly to the layout Add poly and m1 rectangles to connect everything
Add metal1 pins, where A is an input, Ai is an output. DRC the layout
![http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/8.JPG](http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/8.JPG)
Extract the layout, and LVS the extracted layout
![http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/9.JPG](http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/9.JPG)
Make a new schematic and create the following schematic
![http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/10.JPG](http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/10.JPG)
Launching the ADE, and setting up the MOSFET models
![http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/11.JPG](http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/11.JPG)
go to choosing analyses and to the following
![http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/12.JPG](http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/12.JPG)
choose your outputs
![http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/13.JPG](http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/13.JPG)
Using Graph -> Split Current Strip to see the 2 signals in 2 different graphs
![http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/14.JPG](http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/14.JPG)
Adding a vdd! because There is no output due to there not being a “vdd!” source. Instance to the schematic and also setting it in the ADE Setup -> Stimuli
![http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/15.JPG](http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/15.JPG)
![http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/16.JPG](http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/16.JPG)
Rerunning the Simulator using the saved states
![http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/17.JPG](http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/17.JPG)
Now simulate the Extracted Layout and do the following and add extracted in the statement Using ADE Setup-> Enironment
![http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/18.JPG](http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/18.JPG)
![http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/19.JPG](http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/19.JPG)
END of Prelab
***************************************************************************************
Lab work
- Draft schematics, layouts, and symbols for two inverters having sizes of:
- 12u/6u (= width of the PMOS / width of the NMOS with both devices having minimum lengths of 0.6u)
- 48u/24u where the devices use a multiplier, M = 4 (set along with the width and length of the MOSFET, image), as seen below
- Using SPICE simulate the operation of both of your inverters showing each driving a 100 fF, 1 pF, 10 pF, and 100 pF capacitive load
- Comment, in your report, on the results
- Use UltraSim (Cadence's fast SPICE simulator for larger circuits at the cost of accuracy) and repeat the above simulations
- Use Setup -> Simulator/Directory/Host and select UltraSim as seen below
- You'll also have to point to the MOSFET models again as seen below
- Note that UltraSim only performs transient simulations (not AC, Noise, DC, operating point, etc.)
- Not knowing this last item will lead to wasted time if trying to use UltraSim exclusively for simulations
***************************************************************************************
Lab
Experiment 1: Schematic, Layout, and Symbol for a 12μ/0.6μ PMOS and 6μ/0.6μ NMOS
Make new Libary->Lab5
![http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/20.JPG](http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/20.JPG)
Schematic of the 12/6 PMOS-NMOS inverter
![http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/21.JPG](http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/21.JPG)
Create symbol for this inverter Create -> Cell View -> From Cell View
![http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/22.JPG](http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/22.JPG)
Layout the Inverter and DRC
![http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/23.JPG](http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/23.JPG)
![http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/24.JPG](http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/24.JPG)
Extract the layout, and LVS the extracted layout
![http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/25.JPG](http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/25.JPG)
Experiment 2: Schematic, Layout, and Symbol for a 48μ/0.6μ PMOS and 24μ/0.6μ NMOS by the use of
Mulitplier in CDF parameters with value 4
Copy experiment 1 cell and change the CDF parameters of PMOS and NMOS
![http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/26.JPG](http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/26.JPG)
layout the schematic
![http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/27.JPG](http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/27.JPG)
make a symbol
![http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/28.JPG](http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/28.JPG)
Layout the Inverter in layout and DRC then extarct it
![http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/29.JPG](http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/29.JPG)
![http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/30.JPG](http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/30.JPG)
Do the LVS
![http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/31.JPG](http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/31.JPG)
Experiment 3: Simulations of 12μ/6μ inverter
Simulating the 12μ/6μ Inverter first, here is the following schematic
![http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/32.JPG](http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/32.JPG)
Launching the ADE, adding the model libraries, and doing a transient response
![http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/33.JPG](http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/33.JPG)
make sure to do the following and to add the variables
![http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/34.JPG](http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/34.JPG)
load Model Libraries
![http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/35.JPG](http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/35.JPG)
![http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/36.JPG](http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/36.JPG)
open Parametric Analysis with the Variable cap and input the following information
![http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/37.JPG](http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/37.JPG)
![http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/38.JPG](http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/38.JPG)
press the green button
![http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/39.JPG](http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/39.JPG)
Simulating the 48μ/24μ Inverter the same way we did the 12/6 Inverter
![http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/40.JPG](http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/40.JPG)
![http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/41.JPG](http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/41.JPG)
![http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/42.JPG](http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/42.JPG)
![http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/43.JPG](http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/43.JPG)
Higher capacitances make the inverter have faster fall times. And bigger MOSFETs also give faster fall times and high gains.
Experiment 4: Simulations with Ultrasim
Setup the following for ultrasim
![http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/44.JPG](http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/44.JPG)
Press OK
![http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/45.JPG](http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/45.JPG)
Set the Parametric analysis again and Run (Green Button)
![http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/46.JPG](http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/46.JPG)
![http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/39.JPG](http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/39.JPG)
Doing the same for the 48u/24u Inverter
![http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/44.JPG](http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/44.JPG)
![http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/47.JPG](http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/47.JPG)
![http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/43.JPG](http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%205/43.JPG)
End of Lab
*******************************************************************************************************************
files used in this lab can be downloaded HERE
and lastly I must backup my work
Return to Labs